package com.tech.platform.entity;

import com.swak.annotation.ColumnStrategy;
import com.swak.annotation.Table;
import com.swak.persistence.Model;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 描述
 * 
 * @author Auto Generator
 * @date 2021-03-28
 */
@Getter
@Setter
@Accessors(chain = true)
@Table(value="PLATFORM_TASK", strategy=ColumnStrategy.Full)
public class Task extends Model<Task, Long> {
	
	public static final String Id = "ID";
	public static final String Name = "NAME";
	public static final String PlanExecutionTime = "PLAN_EXECUTION_TIME";
	public static final String BeginDate = "BEGIN_DATE";
	public static final String EndDate = "END_DATE";
	public static final String Type = "TYPE";
	public static final String Module = "MODULE";
	public static final String Config = "CONFIG";
	public static final String Status = "STATUS";
	public static final String ShopId = "SHOP_ID";
	public static final String TenantId = "TENANT_ID";
	public static final String CreateDate = "CREATE_DATE";
	public static final String UpdateDate = "UPDATE_DATE";
	public static final String DelFlag = "DEL_FLAG";
	
	private String name;
	private java.time.LocalDateTime planExecutionTime;
	private java.time.LocalDateTime beginDate;
	private java.time.LocalDateTime endDate;
	private Byte type;
	private Byte module;
	private String config;
	private Byte status;
	private Long shopId;
	private Long tenantId;
	
	public static Task of() {
	  return new Task();
	}
}
